projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7d252
)
(ftxfont_draw_backgrond): Fix args to XFillRectangle.
author
Kenichi Handa
<handa@m17n.org>
Mon, 6 Apr 2009 11:11:20 +0000
(11:11 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 6 Apr 2009 11:11:20 +0000
(11:11 +0000)
src/ftxfont.c
patch
|
blob
|
history
diff --git
a/src/ftxfont.c
b/src/ftxfont.c
index dcad85ba7fd6dce55b8d6f2772b5e7afac3d46bd..2cf45bb27a09d6896a65bdb7d97b6cc677af323e 100644
(file)
--- a/
src/ftxfont.c
+++ b/
src/ftxfont.c
@@
-235,7
+235,7
@@
ftxfont_draw_backgrond (f, font, gc, x, y, width)
GCForeground | GCBackground, &xgcv);
XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.background);
XFillRectangle (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), gc,
- x, y -
font->ascent, width, y + font->descent
);
+ x, y -
FONT_BASE (font), width, FONT_HEIGHT (font)
);
XSetForeground (FRAME_X_DISPLAY (f), gc, xgcv.foreground);
}